#include <stdio.h>
#include <string.h>
int main()
{
    char arr1[] = "woshixiaoxuesheng";//17个元素
    //两个都算空格
    //而数组是从0开始计
    int r = sizeof (arr1);//这个还加上\0
    int i = strlen (arr1);
    printf("r = %d\n", r);
    printf("i =  %d\n", i);
    return 0;
}
